<?php
	('Access-Control-Allow-Origin：*');
	include("../config/mysql.php");
	$db = new mysql();

	$id = $_GET["id"];
	$type = $_GET["type"];
	$level = $_GET["level"];
	$ject = $_GET["ject"];
	$produ = $_GET["produ"];
	$price = $_GET["price"];
	$Agencyprice = $_GET["Agencyprice"];
	$Externalprice = $_GET["Externalprice"];
	$remarks = $_GET["remarks"];
    $xuezhi = $_GET["xuezhi"];
	$validYear = $_GET["validYear"];

	$sql = "update educational set produ='{$produ}',ject='{$ject}',price='{$price}',Agencyprice='{$Agencyprice}',Externalprice='{$Externalprice}',level='{$level}',xuezhi='{$xuezhi}',remarks='{$remarks}',type='{$type}',validYear='{$validYear}'  where id = '{$id}'";

    echo $db->Query($sql);
	$db->close();
?>
